class LoginBean {
  String id;
  String token;
  List<String> menuRoleList;

  LoginBean({
    this.id,
    this.token,
    this.menuRoleList,
  });

  LoginBean.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    token = json['token'];
    menuRoleList = json['menuRoleList'].cast<String>();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['token'] = this.token;
    data['menuRoleList'] = this.menuRoleList;
    return data;
  }
}
